<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MFixedPoint: mn::MFixedPoint::Fp32s Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MFixedPoint
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classmn_1_1MFixedPoint_1_1Fp32s.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classmn_1_1MFixedPoint_1_1Fp32s-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">mn::MFixedPoint::Fp32s Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The template argument p in all of the following functions refers to the fixed point precision (e.g. p = 8 gives 24.8 fixed point functions). Contains mathematical operator overloading. Doesn't have modulus (%) overloading.  
 <a href="classmn_1_1MFixedPoint_1_1Fp32s.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="Fp32s_8hpp_source.html">Fp32s.hpp</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for mn::MFixedPoint::Fp32s:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classmn_1_1MFixedPoint_1_1Fp32s__coll__graph.svg" width="176" height="250"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a02b376afc0218aeda32268c534fdc941"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a02b376afc0218aeda32268c534fdc941">Fp32s</a> ()</td></tr>
<tr class="separator:a02b376afc0218aeda32268c534fdc941"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8c51c0818875e71c2f06c9800b115a6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#aa8c51c0818875e71c2f06c9800b115a6">Fp32s</a> (int32_t i, uint8_t qin)</td></tr>
<tr class="separator:aa8c51c0818875e71c2f06c9800b115a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99539bceb32fe980e672254d4d5aab88"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a99539bceb32fe980e672254d4d5aab88">Fp32s</a> (double dbl, uint8_t qin)</td></tr>
<tr class="separator:a99539bceb32fe980e672254d4d5aab88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7a450f3fced6a2d17cde14d82172544"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#ad7a450f3fced6a2d17cde14d82172544">operator+=</a> (<a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a> r)</td></tr>
<tr class="memdesc:ad7a450f3fced6a2d17cde14d82172544"><td class="mdescLeft">&#160;</td><td class="mdescRight">Overload for '+=' operator.  <a href="#ad7a450f3fced6a2d17cde14d82172544">More...</a><br /></td></tr>
<tr class="separator:ad7a450f3fced6a2d17cde14d82172544"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add2ff4bcbf3bd0cffb34b81e28dd85e8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#add2ff4bcbf3bd0cffb34b81e28dd85e8">operator-=</a> (<a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a> r)</td></tr>
<tr class="memdesc:add2ff4bcbf3bd0cffb34b81e28dd85e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Overload for '-=' operator.  <a href="#add2ff4bcbf3bd0cffb34b81e28dd85e8">More...</a><br /></td></tr>
<tr class="separator:add2ff4bcbf3bd0cffb34b81e28dd85e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49c19ed2b6a88ab03368a0bed5d16fa6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a49c19ed2b6a88ab03368a0bed5d16fa6">operator*=</a> (<a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a> r)</td></tr>
<tr class="memdesc:a49c19ed2b6a88ab03368a0bed5d16fa6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Overlaod for '*=' operator.  <a href="#a49c19ed2b6a88ab03368a0bed5d16fa6">More...</a><br /></td></tr>
<tr class="separator:a49c19ed2b6a88ab03368a0bed5d16fa6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae51f206ce57dd218ad74aab46c6b67f1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#ae51f206ce57dd218ad74aab46c6b67f1">operator/=</a> (<a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a> r)</td></tr>
<tr class="memdesc:ae51f206ce57dd218ad74aab46c6b67f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Overlaod for '/=' operator.  <a href="#ae51f206ce57dd218ad74aab46c6b67f1">More...</a><br /></td></tr>
<tr class="separator:ae51f206ce57dd218ad74aab46c6b67f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af134a866ef74afcf06d6b05f1bdcbd1a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#af134a866ef74afcf06d6b05f1bdcbd1a">operator%=</a> (<a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a> r)</td></tr>
<tr class="memdesc:af134a866ef74afcf06d6b05f1bdcbd1a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Overlaod for '%=' operator.  <a href="#af134a866ef74afcf06d6b05f1bdcbd1a">More...</a><br /></td></tr>
<tr class="separator:af134a866ef74afcf06d6b05f1bdcbd1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22477d53cf1b8fbdfea3c2f5e629febc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a22477d53cf1b8fbdfea3c2f5e629febc">operator+</a> (<a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a> r) const</td></tr>
<tr class="memdesc:a22477d53cf1b8fbdfea3c2f5e629febc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Overload for '+' operator.  <a href="#a22477d53cf1b8fbdfea3c2f5e629febc">More...</a><br /></td></tr>
<tr class="separator:a22477d53cf1b8fbdfea3c2f5e629febc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afdc7df29b2486408ed3f5dd8182f0914"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#afdc7df29b2486408ed3f5dd8182f0914">operator-</a> (<a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a> r) const</td></tr>
<tr class="memdesc:afdc7df29b2486408ed3f5dd8182f0914"><td class="mdescLeft">&#160;</td><td class="mdescRight">Overload for '-' operator.  <a href="#afdc7df29b2486408ed3f5dd8182f0914">More...</a><br /></td></tr>
<tr class="separator:afdc7df29b2486408ed3f5dd8182f0914"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3310abd5928fc7ec4fdcc23a0a1a7d82"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a3310abd5928fc7ec4fdcc23a0a1a7d82">operator*</a> (<a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a> r) const</td></tr>
<tr class="memdesc:a3310abd5928fc7ec4fdcc23a0a1a7d82"><td class="mdescLeft">&#160;</td><td class="mdescRight">Overload for '*' operator.  <a href="#a3310abd5928fc7ec4fdcc23a0a1a7d82">More...</a><br /></td></tr>
<tr class="separator:a3310abd5928fc7ec4fdcc23a0a1a7d82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9b4c56f4eaece985f6fa6f447c93c29"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#af9b4c56f4eaece985f6fa6f447c93c29">operator/</a> (<a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a> r) const</td></tr>
<tr class="memdesc:af9b4c56f4eaece985f6fa6f447c93c29"><td class="mdescLeft">&#160;</td><td class="mdescRight">Overload for '/' operator.  <a href="#af9b4c56f4eaece985f6fa6f447c93c29">More...</a><br /></td></tr>
<tr class="separator:af9b4c56f4eaece985f6fa6f447c93c29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa0f91b6d6f72a2a461ce7b6084bae42"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#aaa0f91b6d6f72a2a461ce7b6084bae42">operator%</a> (<a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a> r) const</td></tr>
<tr class="memdesc:aaa0f91b6d6f72a2a461ce7b6084bae42"><td class="mdescLeft">&#160;</td><td class="mdescRight">Overload for '' operator.  <a href="#aaa0f91b6d6f72a2a461ce7b6084bae42">More...</a><br /></td></tr>
<tr class="separator:aaa0f91b6d6f72a2a461ce7b6084bae42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fbe82d2bc52dca6551b91030b031a80"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a0fbe82d2bc52dca6551b91030b031a80">operator==</a> (<a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a> r) const</td></tr>
<tr class="memdesc:a0fbe82d2bc52dca6551b91030b031a80"><td class="mdescLeft">&#160;</td><td class="mdescRight">Overload for the '==' operator.  <a href="#a0fbe82d2bc52dca6551b91030b031a80">More...</a><br /></td></tr>
<tr class="separator:a0fbe82d2bc52dca6551b91030b031a80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d79d80f40c6765cc92bbf91bc6b731a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a3d79d80f40c6765cc92bbf91bc6b731a">operator!=</a> (<a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a> r) const</td></tr>
<tr class="memdesc:a3d79d80f40c6765cc92bbf91bc6b731a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Overload for the '!=' operator.  <a href="#a3d79d80f40c6765cc92bbf91bc6b731a">More...</a><br /></td></tr>
<tr class="separator:a3d79d80f40c6765cc92bbf91bc6b731a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c9a7718b7173f5421fcae874260292a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a0c9a7718b7173f5421fcae874260292a">operator&lt;</a> (<a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a> r) const</td></tr>
<tr class="memdesc:a0c9a7718b7173f5421fcae874260292a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Overload for the '&lt;' operator.  <a href="#a0c9a7718b7173f5421fcae874260292a">More...</a><br /></td></tr>
<tr class="separator:a0c9a7718b7173f5421fcae874260292a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ca31bcae5eb6ab9266d6f3a3d4a592c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a8ca31bcae5eb6ab9266d6f3a3d4a592c">operator&gt;</a> (<a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a> r) const</td></tr>
<tr class="memdesc:a8ca31bcae5eb6ab9266d6f3a3d4a592c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Overload for the '&gt;' operator.  <a href="#a8ca31bcae5eb6ab9266d6f3a3d4a592c">More...</a><br /></td></tr>
<tr class="separator:a8ca31bcae5eb6ab9266d6f3a3d4a592c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa588e20cc88a58c2fc6b9a2162486a38"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#aa588e20cc88a58c2fc6b9a2162486a38">operator&lt;=</a> (<a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a> r) const</td></tr>
<tr class="memdesc:aa588e20cc88a58c2fc6b9a2162486a38"><td class="mdescLeft">&#160;</td><td class="mdescRight">Overload for the '&lt;=' operator.  <a href="#aa588e20cc88a58c2fc6b9a2162486a38">More...</a><br /></td></tr>
<tr class="separator:aa588e20cc88a58c2fc6b9a2162486a38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17f7dbce346f10082fa6e7ff5e6e770f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a17f7dbce346f10082fa6e7ff5e6e770f">operator&gt;=</a> (<a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a> r) const</td></tr>
<tr class="memdesc:a17f7dbce346f10082fa6e7ff5e6e770f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Overload for the '&gt;=' operator.  <a href="#a17f7dbce346f10082fa6e7ff5e6e770f">More...</a><br /></td></tr>
<tr class="separator:a17f7dbce346f10082fa6e7ff5e6e770f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56da8c26876300f1c1d91c08504a7a07"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a56da8c26876300f1c1d91c08504a7a07">operator int32_t</a> ()</td></tr>
<tr class="memdesc:a56da8c26876300f1c1d91c08504a7a07"><td class="mdescLeft">&#160;</td><td class="mdescRight">Conversion operator from fixed-point to int32_t.  <a href="#a56da8c26876300f1c1d91c08504a7a07">More...</a><br /></td></tr>
<tr class="separator:a56da8c26876300f1c1d91c08504a7a07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a989738ef087fd954e7043e916bd25722"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a989738ef087fd954e7043e916bd25722">operator int64_t</a> ()</td></tr>
<tr class="memdesc:a989738ef087fd954e7043e916bd25722"><td class="mdescLeft">&#160;</td><td class="mdescRight">Conversion operator from fixed-point to int64_t.  <a href="#a989738ef087fd954e7043e916bd25722">More...</a><br /></td></tr>
<tr class="separator:a989738ef087fd954e7043e916bd25722"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a410c201893512c2e12a86f691deb5da3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a410c201893512c2e12a86f691deb5da3">operator float</a> ()</td></tr>
<tr class="memdesc:a410c201893512c2e12a86f691deb5da3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Conversion operator from fixed-point to float.  <a href="#a410c201893512c2e12a86f691deb5da3">More...</a><br /></td></tr>
<tr class="separator:a410c201893512c2e12a86f691deb5da3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf50a384ec2200471516edb83a3671c4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#adf50a384ec2200471516edb83a3671c4">operator double</a> ()</td></tr>
<tr class="memdesc:adf50a384ec2200471516edb83a3671c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Conversion operator from fixed-point to double.  <a href="#adf50a384ec2200471516edb83a3671c4">More...</a><br /></td></tr>
<tr class="separator:adf50a384ec2200471516edb83a3671c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a306261e9495ccb3368e20b5b3b9c542a"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a306261e9495ccb3368e20b5b3b9c542a">rawVal</a></td></tr>
<tr class="memdesc:a306261e9495ccb3368e20b5b3b9c542a"><td class="mdescLeft">&#160;</td><td class="mdescRight">The fixed-point number is stored in this basic data type.  <a href="#a306261e9495ccb3368e20b5b3b9c542a">More...</a><br /></td></tr>
<tr class="separator:a306261e9495ccb3368e20b5b3b9c542a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9fa8180f63c1dd582b17709036b8367d"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a9fa8180f63c1dd582b17709036b8367d">q</a></td></tr>
<tr class="memdesc:a9fa8180f63c1dd582b17709036b8367d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This stores the number of fractional bits.  <a href="#a9fa8180f63c1dd582b17709036b8367d">More...</a><br /></td></tr>
<tr class="separator:a9fa8180f63c1dd582b17709036b8367d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The template argument p in all of the following functions refers to the fixed point precision (e.g. p = 8 gives 24.8 fixed point functions). Contains mathematical operator overloading. Doesn't have modulus (%) overloading. </p>

<p class="definition">Definition at line <a class="el" href="Fp32s_8hpp_source.html#l00036">36</a> of file <a class="el" href="Fp32s_8hpp_source.html">Fp32s.hpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a02b376afc0218aeda32268c534fdc941"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a02b376afc0218aeda32268c534fdc941">&#9670;&nbsp;</a></span>Fp32s() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">mn::MFixedPoint::Fp32s::Fp32s </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="Fp32s_8hpp_source.html#l00046">46</a> of file <a class="el" href="Fp32s_8hpp_source.html">Fp32s.hpp</a>.</p>

</div>
</div>
<a id="aa8c51c0818875e71c2f06c9800b115a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8c51c0818875e71c2f06c9800b115a6">&#9670;&nbsp;</a></span>Fp32s() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">mn::MFixedPoint::Fp32s::Fp32s </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>qin</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="Fp32s_8hpp_source.html#l00053">53</a> of file <a class="el" href="Fp32s_8hpp_source.html">Fp32s.hpp</a>.</p>

</div>
</div>
<a id="a99539bceb32fe980e672254d4d5aab88"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a99539bceb32fe980e672254d4d5aab88">&#9670;&nbsp;</a></span>Fp32s() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">mn::MFixedPoint::Fp32s::Fp32s </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>dbl</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>qin</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="Fp32s_8hpp_source.html#l00059">59</a> of file <a class="el" href="Fp32s_8hpp_source.html">Fp32s.hpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="adf50a384ec2200471516edb83a3671c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf50a384ec2200471516edb83a3671c4">&#9670;&nbsp;</a></span>operator double()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">mn::MFixedPoint::Fp32s::operator double </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Conversion operator from fixed-point to double. </p>
<dl class="section note"><dt>Note</dt><dd>Similar to float conversion. </dd></dl>

<p class="definition">Definition at line <a class="el" href="Fp32s_8hpp_source.html#l00410">410</a> of file <a class="el" href="Fp32s_8hpp_source.html">Fp32s.hpp</a>.</p>

</div>
</div>
<a id="a410c201893512c2e12a86f691deb5da3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a410c201893512c2e12a86f691deb5da3">&#9670;&nbsp;</a></span>operator float()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">mn::MFixedPoint::Fp32s::operator float </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Conversion operator from fixed-point to float. </p>
<dl class="section note"><dt>Note</dt><dd>Similar to double conversion. </dd></dl>

<p class="definition">Definition at line <a class="el" href="Fp32s_8hpp_source.html#l00403">403</a> of file <a class="el" href="Fp32s_8hpp_source.html">Fp32s.hpp</a>.</p>

</div>
</div>
<a id="a56da8c26876300f1c1d91c08504a7a07"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a56da8c26876300f1c1d91c08504a7a07">&#9670;&nbsp;</a></span>operator int32_t()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">mn::MFixedPoint::Fp32s::operator int32_t </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Conversion operator from fixed-point to int32_t. </p>

<p class="definition">Definition at line <a class="el" href="Fp32s_8hpp_source.html#l00388">388</a> of file <a class="el" href="Fp32s_8hpp_source.html">Fp32s.hpp</a>.</p>

</div>
</div>
<a id="a989738ef087fd954e7043e916bd25722"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a989738ef087fd954e7043e916bd25722">&#9670;&nbsp;</a></span>operator int64_t()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">mn::MFixedPoint::Fp32s::operator int64_t </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Conversion operator from fixed-point to int64_t. </p>

<p class="definition">Definition at line <a class="el" href="Fp32s_8hpp_source.html#l00395">395</a> of file <a class="el" href="Fp32s_8hpp_source.html">Fp32s.hpp</a>.</p>

<p class="reference">References <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a9fa8180f63c1dd582b17709036b8367d">q</a>.</p>

</div>
</div>
<a id="a3d79d80f40c6765cc92bbf91bc6b731a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d79d80f40c6765cc92bbf91bc6b731a">&#9670;&nbsp;</a></span>operator!=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool mn::MFixedPoint::Fp32s::operator!= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a>&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Overload for the '!=' operator. </p>

<p class="definition">Definition at line <a class="el" href="Fp32s_8hpp_source.html#l00276">276</a> of file <a class="el" href="Fp32s_8hpp_source.html">Fp32s.hpp</a>.</p>

<p class="reference">References <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a9fa8180f63c1dd582b17709036b8367d">q</a>, and <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a306261e9495ccb3368e20b5b3b9c542a">rawVal</a>.</p>

</div>
</div>
<a id="aaa0f91b6d6f72a2a461ce7b6084bae42"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaa0f91b6d6f72a2a461ce7b6084bae42">&#9670;&nbsp;</a></span>operator%()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a> mn::MFixedPoint::Fp32s::operator% </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a>&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Overload for '' operator. </p>
<p>Uses '%=' operator. </p>

<p class="definition">Definition at line <a class="el" href="Fp32s_8hpp_source.html#l00244">244</a> of file <a class="el" href="Fp32s_8hpp_source.html">Fp32s.hpp</a>.</p>

</div>
</div>
<a id="af134a866ef74afcf06d6b05f1bdcbd1a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af134a866ef74afcf06d6b05f1bdcbd1a">&#9670;&nbsp;</a></span>operator%=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a>&amp; mn::MFixedPoint::Fp32s::operator%= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a>&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Overlaod for '%=' operator. </p>

<p class="definition">Definition at line <a class="el" href="Fp32s_8hpp_source.html#l00178">178</a> of file <a class="el" href="Fp32s_8hpp_source.html">Fp32s.hpp</a>.</p>

<p class="reference">References <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a9fa8180f63c1dd582b17709036b8367d">q</a>, and <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a306261e9495ccb3368e20b5b3b9c542a">rawVal</a>.</p>

</div>
</div>
<a id="a3310abd5928fc7ec4fdcc23a0a1a7d82"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3310abd5928fc7ec4fdcc23a0a1a7d82">&#9670;&nbsp;</a></span>operator*()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a> mn::MFixedPoint::Fp32s::operator* </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a>&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Overload for '*' operator. </p>
<p>Uses '*=' operator. </p>

<p class="definition">Definition at line <a class="el" href="Fp32s_8hpp_source.html#l00226">226</a> of file <a class="el" href="Fp32s_8hpp_source.html">Fp32s.hpp</a>.</p>

</div>
</div>
<a id="a49c19ed2b6a88ab03368a0bed5d16fa6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49c19ed2b6a88ab03368a0bed5d16fa6">&#9670;&nbsp;</a></span>operator*=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a>&amp; mn::MFixedPoint::Fp32s::operator*= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a>&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Overlaod for '*=' operator. </p>
<p>Uses intermediatary casting to int64_t to prevent overflows. </p>

<p class="definition">Definition at line <a class="el" href="Fp32s_8hpp_source.html#l00123">123</a> of file <a class="el" href="Fp32s_8hpp_source.html">Fp32s.hpp</a>.</p>

<p class="reference">References <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a9fa8180f63c1dd582b17709036b8367d">q</a>, and <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a306261e9495ccb3368e20b5b3b9c542a">rawVal</a>.</p>

</div>
</div>
<a id="a22477d53cf1b8fbdfea3c2f5e629febc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a22477d53cf1b8fbdfea3c2f5e629febc">&#9670;&nbsp;</a></span>operator+()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a> mn::MFixedPoint::Fp32s::operator+ </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a>&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Overload for '+' operator. </p>
<p>Uses '+=' operator. </p>

<p class="definition">Definition at line <a class="el" href="Fp32s_8hpp_source.html#l00208">208</a> of file <a class="el" href="Fp32s_8hpp_source.html">Fp32s.hpp</a>.</p>

</div>
</div>
<a id="ad7a450f3fced6a2d17cde14d82172544"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad7a450f3fced6a2d17cde14d82172544">&#9670;&nbsp;</a></span>operator+=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a>&amp; mn::MFixedPoint::Fp32s::operator+= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a>&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Overload for '+=' operator. </p>

<p class="definition">Definition at line <a class="el" href="Fp32s_8hpp_source.html#l00068">68</a> of file <a class="el" href="Fp32s_8hpp_source.html">Fp32s.hpp</a>.</p>

<p class="reference">References <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a9fa8180f63c1dd582b17709036b8367d">q</a>, and <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a306261e9495ccb3368e20b5b3b9c542a">rawVal</a>.</p>

</div>
</div>
<a id="afdc7df29b2486408ed3f5dd8182f0914"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afdc7df29b2486408ed3f5dd8182f0914">&#9670;&nbsp;</a></span>operator-()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a> mn::MFixedPoint::Fp32s::operator- </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a>&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Overload for '-' operator. </p>
<p>Uses '-=' operator. </p>

<p class="definition">Definition at line <a class="el" href="Fp32s_8hpp_source.html#l00217">217</a> of file <a class="el" href="Fp32s_8hpp_source.html">Fp32s.hpp</a>.</p>

</div>
</div>
<a id="add2ff4bcbf3bd0cffb34b81e28dd85e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#add2ff4bcbf3bd0cffb34b81e28dd85e8">&#9670;&nbsp;</a></span>operator-=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a>&amp; mn::MFixedPoint::Fp32s::operator-= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a>&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Overload for '-=' operator. </p>

<p class="definition">Definition at line <a class="el" href="Fp32s_8hpp_source.html#l00095">95</a> of file <a class="el" href="Fp32s_8hpp_source.html">Fp32s.hpp</a>.</p>

<p class="reference">References <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a9fa8180f63c1dd582b17709036b8367d">q</a>, and <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a306261e9495ccb3368e20b5b3b9c542a">rawVal</a>.</p>

</div>
</div>
<a id="af9b4c56f4eaece985f6fa6f447c93c29"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af9b4c56f4eaece985f6fa6f447c93c29">&#9670;&nbsp;</a></span>operator/()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a> mn::MFixedPoint::Fp32s::operator/ </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a>&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Overload for '/' operator. </p>
<p>Uses '/=' operator. </p>

<p class="definition">Definition at line <a class="el" href="Fp32s_8hpp_source.html#l00235">235</a> of file <a class="el" href="Fp32s_8hpp_source.html">Fp32s.hpp</a>.</p>

</div>
</div>
<a id="ae51f206ce57dd218ad74aab46c6b67f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae51f206ce57dd218ad74aab46c6b67f1">&#9670;&nbsp;</a></span>operator/=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a>&amp; mn::MFixedPoint::Fp32s::operator/= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a>&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Overlaod for '/=' operator. </p>
<p>Uses intermediatary casting to int64_t to prevent overflows. </p>

<p class="definition">Definition at line <a class="el" href="Fp32s_8hpp_source.html#l00151">151</a> of file <a class="el" href="Fp32s_8hpp_source.html">Fp32s.hpp</a>.</p>

<p class="reference">References <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a9fa8180f63c1dd582b17709036b8367d">q</a>, and <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a306261e9495ccb3368e20b5b3b9c542a">rawVal</a>.</p>

</div>
</div>
<a id="a0c9a7718b7173f5421fcae874260292a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c9a7718b7173f5421fcae874260292a">&#9670;&nbsp;</a></span>operator<()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool mn::MFixedPoint::Fp32s::operator&lt; </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a>&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Overload for the '&lt;' operator. </p>

<p class="definition">Definition at line <a class="el" href="Fp32s_8hpp_source.html#l00298">298</a> of file <a class="el" href="Fp32s_8hpp_source.html">Fp32s.hpp</a>.</p>

<p class="reference">References <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a9fa8180f63c1dd582b17709036b8367d">q</a>, and <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a306261e9495ccb3368e20b5b3b9c542a">rawVal</a>.</p>

</div>
</div>
<a id="aa588e20cc88a58c2fc6b9a2162486a38"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa588e20cc88a58c2fc6b9a2162486a38">&#9670;&nbsp;</a></span>operator<=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool mn::MFixedPoint::Fp32s::operator&lt;= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a>&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Overload for the '&lt;=' operator. </p>

<p class="definition">Definition at line <a class="el" href="Fp32s_8hpp_source.html#l00342">342</a> of file <a class="el" href="Fp32s_8hpp_source.html">Fp32s.hpp</a>.</p>

<p class="reference">References <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a9fa8180f63c1dd582b17709036b8367d">q</a>, and <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a306261e9495ccb3368e20b5b3b9c542a">rawVal</a>.</p>

</div>
</div>
<a id="a0fbe82d2bc52dca6551b91030b031a80"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0fbe82d2bc52dca6551b91030b031a80">&#9670;&nbsp;</a></span>operator==()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool mn::MFixedPoint::Fp32s::operator== </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a>&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Overload for the '==' operator. </p>

<p class="definition">Definition at line <a class="el" href="Fp32s_8hpp_source.html#l00254">254</a> of file <a class="el" href="Fp32s_8hpp_source.html">Fp32s.hpp</a>.</p>

<p class="reference">References <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a9fa8180f63c1dd582b17709036b8367d">q</a>, and <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a306261e9495ccb3368e20b5b3b9c542a">rawVal</a>.</p>

</div>
</div>
<a id="a8ca31bcae5eb6ab9266d6f3a3d4a592c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ca31bcae5eb6ab9266d6f3a3d4a592c">&#9670;&nbsp;</a></span>operator>()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool mn::MFixedPoint::Fp32s::operator&gt; </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a>&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Overload for the '&gt;' operator. </p>

<p class="definition">Definition at line <a class="el" href="Fp32s_8hpp_source.html#l00320">320</a> of file <a class="el" href="Fp32s_8hpp_source.html">Fp32s.hpp</a>.</p>

<p class="reference">References <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a9fa8180f63c1dd582b17709036b8367d">q</a>, and <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a306261e9495ccb3368e20b5b3b9c542a">rawVal</a>.</p>

</div>
</div>
<a id="a17f7dbce346f10082fa6e7ff5e6e770f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a17f7dbce346f10082fa6e7ff5e6e770f">&#9670;&nbsp;</a></span>operator>=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool mn::MFixedPoint::Fp32s::operator&gt;= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a>&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Overload for the '&gt;=' operator. </p>

<p class="definition">Definition at line <a class="el" href="Fp32s_8hpp_source.html#l00364">364</a> of file <a class="el" href="Fp32s_8hpp_source.html">Fp32s.hpp</a>.</p>

<p class="reference">References <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a9fa8180f63c1dd582b17709036b8367d">q</a>, and <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a306261e9495ccb3368e20b5b3b9c542a">rawVal</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a9fa8180f63c1dd582b17709036b8367d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9fa8180f63c1dd582b17709036b8367d">&#9670;&nbsp;</a></span>q</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t mn::MFixedPoint::Fp32s::q</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This stores the number of fractional bits. </p>

<p class="definition">Definition at line <a class="el" href="Fp32s_8hpp_source.html#l00044">44</a> of file <a class="el" href="Fp32s_8hpp_source.html">Fp32s.hpp</a>.</p>

<p class="reference">Referenced by <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a989738ef087fd954e7043e916bd25722">operator int64_t()</a>, <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a3d79d80f40c6765cc92bbf91bc6b731a">operator!=()</a>, <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#af134a866ef74afcf06d6b05f1bdcbd1a">operator%=()</a>, <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a49c19ed2b6a88ab03368a0bed5d16fa6">operator*=()</a>, <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#ad7a450f3fced6a2d17cde14d82172544">operator+=()</a>, <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#add2ff4bcbf3bd0cffb34b81e28dd85e8">operator-=()</a>, <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#ae51f206ce57dd218ad74aab46c6b67f1">operator/=()</a>, <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a0c9a7718b7173f5421fcae874260292a">operator&lt;()</a>, <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#aa588e20cc88a58c2fc6b9a2162486a38">operator&lt;=()</a>, <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a0fbe82d2bc52dca6551b91030b031a80">operator==()</a>, <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a8ca31bcae5eb6ab9266d6f3a3d4a592c">operator&gt;()</a>, and <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a17f7dbce346f10082fa6e7ff5e6e770f">operator&gt;=()</a>.</p>

</div>
</div>
<a id="a306261e9495ccb3368e20b5b3b9c542a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a306261e9495ccb3368e20b5b3b9c542a">&#9670;&nbsp;</a></span>rawVal</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t mn::MFixedPoint::Fp32s::rawVal</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The fixed-point number is stored in this basic data type. </p>

<p class="definition">Definition at line <a class="el" href="Fp32s_8hpp_source.html#l00041">41</a> of file <a class="el" href="Fp32s_8hpp_source.html">Fp32s.hpp</a>.</p>

<p class="reference">Referenced by <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a3d79d80f40c6765cc92bbf91bc6b731a">operator!=()</a>, <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#af134a866ef74afcf06d6b05f1bdcbd1a">operator%=()</a>, <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a49c19ed2b6a88ab03368a0bed5d16fa6">operator*=()</a>, <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#ad7a450f3fced6a2d17cde14d82172544">operator+=()</a>, <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#add2ff4bcbf3bd0cffb34b81e28dd85e8">operator-=()</a>, <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#ae51f206ce57dd218ad74aab46c6b67f1">operator/=()</a>, <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a0c9a7718b7173f5421fcae874260292a">operator&lt;()</a>, <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#aa588e20cc88a58c2fc6b9a2162486a38">operator&lt;=()</a>, <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a0fbe82d2bc52dca6551b91030b031a80">operator==()</a>, <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a8ca31bcae5eb6ab9266d6f3a3d4a592c">operator&gt;()</a>, and <a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html#a17f7dbce346f10082fa6e7ff5e6e770f">operator&gt;=()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/MFixedPoint/<a class="el" href="Fp32s_8hpp_source.html">Fp32s.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacemn.html">mn</a></li><li class="navelem"><a class="el" href="namespacemn_1_1MFixedPoint.html">MFixedPoint</a></li><li class="navelem"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp32s.html">Fp32s</a></li>
    <li class="footer">Generated on Wed Dec 13 2017 13:34:45 for MFixedPoint by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
